package com.xbongbong.saas.constant;

/**
 * @Author: hongxiao
 * @date: 2022-07-15 14:27
 */
public class CoolAppConstant {
    /**
     * 钉钉链接
     */
    public static final String DINGTALK_PC_URL = "dingtalk://dingtalkclient/page/link?pc_slide=true&url=";
    public static final String DINGTALK_MOBILE_URL = "dingtalk://dingtalkclient/action/im_open_hybrid_panel?panelHeight=percent80&hybridType=online&pageUrl=";
    /**
     * 3个业务对应url
     */
    public static final String CUSTOMER_UPDATE_PAGE_URL = "application/newForm?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=100&saasMark=1";
    public static final String CONTRACT_UPDATE_PAGE_URL = "application/newForm?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=201&saasMark=1";
    public static final String CUSTOMER_COMMUNICATE_UPDATE_PAGE_URL = "application/newForm?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=501&saasMark=1";
    public static final String SALES_OPPORTUNITY_UPDATE_PAGE_URL = "application/newForm?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=301&saasMark=1";
    public static final String COMMUNICATE_PLAN_UPDATE_PAGE_URL = "/detail/communicate-plan-delay?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=601&saasMark=1";
    public static final String WORK_REPORT_UPDATE_PAGE_URL = "application/newForm?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&subBusinessType=%s&businessType=2101&saasMark=1";
    public static final String CUSTOMER_DETAIL_PAGE_URL = "/detail/customer?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=100&saasMark=1";
    public static final String CONTRACT_DETAIL_PAGE_URL = "/detail/contacts?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=201&saasMark=1";
    public static final String CUSTOMER_COMMUNICATE_DETAIL_PAGE_URL = "/detail/communicate-record?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=501&saasMark=1";
    public static final String SALES_OPPORTUNITY_DETAIL_PAGE_URL = "/detail/sales?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=301&saasMark=1";
    public static final String COMMUNICATE_PLAN_DETAIL_PAGE_URL = "/detail/communicate-plan?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&businessType=601&saasMark=1";
    public static final String WORK_REPORT_DETAIL_PAGE_URL = "/detail/work-report?dataId=%s&appId=%s&menuId=%s&formId=%s&cardBizId=%s&subBusinessType=%s&businessType=2101&saasMark=1";
    public static final String WRITE_COMMUNICATE_PAGE_URL = "application/newForm?dataId=%s&isAdd=true&appId=%s&menuId=%s&formId=%s&cardBizId=%s&timestamp=%s&saasMark=1&businessType=501&isLinkAdd=1&isDetailAdd=1";
    public static final String SIGNIN_PAGE_URL = "/signIn/select?appId=%s&menuId=%s&cardBizId=%s&timestamp=%s";
    public static final String WRITE_WORK_REPORT_PAGE_URL = "application/newForm?appId=%s&menuId=%s&formId=%s&cardBizId=%s&subBusinessType=%s&businessType=2101&saasMark=1";
    /**
     * 默认头像
     */
    public static final String DEFAULT_USER_AVATAR = "https://cdn3.xbongbong.com/xbbProTest3/ding51d0a413630fcca735c2f4657eb6378f/6005165302648745/png/165786692399836158d8be7980343a05951e134b64f59.png";

    /**
     * 审批卡片固定文字
     */
    public static final String I_HAVE_BEEN = "我已";
    public static final String PAAS = "通过";
    public static final String REVOKE = "撤回";
    public static final String REFUSED = "拒绝";
    public static final String BACK = "回退";
    public static final String TRANSFER = "转交";

    public static final String IN_APPROVAL = "审批中";

    /**
     * 极简卡片：大于20人为极简卡片
     */
    public static final Integer SIMPLE_CARD_USER_NUM = 20;


    public static final String COMPLEX_PARAM = "sys_full_json_obj";
}
